package com.ctshk.rpc.order.bus.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import com.ctshk.common.model.IBaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 巴士退款记录
 * </p>
 *
 * @author 彭柳霖
 * @since 2021-02-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_bus_order_refund")
@ApiModel(value="BusOrderRefund对象", description="巴士退款记录")
public class BusOrderRefund extends BaseEntity implements IBaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "所属订单")
    private Long orderId;

    @ApiModelProperty(value = "本位币金额(HKD)")
    private BigDecimal standardAmount;

    @ApiModelProperty(value = "退款单号")
    private String refundNumber;

    @ApiModelProperty(value = "退款金额币种ID")
    private Long currencyId;

    @ApiModelProperty(value = "退款金额币种名称")
    private String currency;

    @ApiModelProperty(value = "退款金额")
    private BigDecimal refundAmount;

    @ApiModelProperty(value = "退款方式ID")
    private Long refundWayId;

    @ApiModelProperty(value = "退款方式")
    private String refundWay;

    @ApiModelProperty(value = "退款账户")
    private String refundAccount;

    @ApiModelProperty(value = "退款原因")
    private String refundReason;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "拒绝原因")
    private String rejectReason;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;

    @ApiModelProperty(value = "审批金额")
    private BigDecimal approvalAmount;
    
    @ApiModelProperty(value = "汇率")
    private BigDecimal exchangeRate;
}
